package org.yjc.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import org.yjc.entity.Grade;
@Repository
public interface GradeRepository extends JpaRepository<Grade,Integer>,JpaSpecificationExecutor<Grade>{

	public Grade findByStudentIdAndCourseId(Integer xsid, Integer kcid);

	public List<Grade> findByStudentTbClassIdAndCourseId(Integer tbclassid, Integer courseid);

}
